package org.webdriver.patatiumwebui.action;

import org.webdriver.patatiumwebui.pageObject.POManagePage;
import org.webdriver.patatiumwebui.utils.ElementAction;
import org.webdriver.patatiumwebui.utils.TestBaseCase;

import java.io.IOException;

public class POAction extends TestBaseCase {
    public POAction(String url) throws IOException {
        POManagePage poManagePage=new POManagePage();
        poManagePage.open(url);
        System.out.println(driver.getCurrentUrl());
        ElementAction action=new ElementAction();
        action.click(poManagePage.新建按钮());


    }
}
